<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>BMI测试</title>
</head>
<body>

<center>
    <table border="1">
        <form action="/bmiUser" method="post">
            <h1>请输入你的数据</h1>
            <tr>
                <td>身高(单位m)</td>
                <td><input name="height" type="text"></td>
            </tr>
            <tr>
                <td>体重(单位kg)</td>
                <td><input name="weight" type="text"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="提交数据">
                </td>
            </tr>
            </form>
            </table>
</center>
</body>
</html>